<!--
 * @Author: jhw jiaxianshengye@gmail.com
 * @LastEditTime: 2025-07-30 19:10:07
 * @LastEditors: jhw
 * @Description: 文件描述
-->
<template>
  <div>
    <div class="nihao">这是没有用到的类名</div>
    <div class="text-2xl font-bold">使用了widcss的类名</div>
  </div>
</template>

<script setup lang="ts">
import axios from 'axios'
import * as Sentry from '@sentry/vue'

axios
  .get('/api/test')
  .then((response) => {
    console.log('请求成功:', response.data)
  })
  .catch((error) => {
    console.error('请求失败:', error)
    Sentry.captureException(error, {
      extra: {
        info: '请求失败时的额外信息',
      },
    })
  })
</script>

<style scoped>
.nihao {
  color: red;
}

.parent .child {
  color: blue;
}
</style>
